package com.zzuli.fitness.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzuli.fitness.entity.Course;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CourseDao extends BaseMapper<Course> {
    int deleteByPrimaryKey(Integer id);

    int insert(Course record);

    int insertSelective(Course record);

    Course selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Course record);

    int updateByPrimaryKey(Course record);

    List<Course> selectByDay(String day);

    List<Course> selectSpecial();

    Course selectPrivate(Integer id);
}